projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07e66c1
)
(Fdefalias): Record in load-history redefining an autoload.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 7 Dec 2002 21:38:39 +0000
(21:38 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 7 Dec 2002 21:38:39 +0000
(21:38 +0000)
src/data.c
patch
|
blob
|
history
diff --git
a/src/data.c
b/src/data.c
index c8867ef3cd76d6487d9f5063686136e80e273485..bde8ec3c83175173ba1216f9aa506f5deed6cdb7 100644
(file)
--- a/
src/data.c
+++ b/
src/data.c
@@
-715,6
+715,9
@@
determined by DEFINITION. */)
(symbol, definition, docstring)
register Lisp_Object symbol, definition, docstring;
{
+ if (CONSP (XSYMBOL (symbol)->function)
+ && EQ (XCAR (XSYMBOL (symbol)->function), Qautoload))
+ LOADHIST_ATTACH (Fcons (Qt, symbol));
definition = Ffset (symbol, definition);
LOADHIST_ATTACH (symbol);
if (!NILP (docstring))